Optimal. Leaf size=192 \[ \frac {2 \left (a^2-b^2\right ) \sqrt {\sec (c+d x)} \sqrt {\frac {a \cos (c+d x)+b}{a+b}} F\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right )}{3 a d \sqrt {a+b \sec (c+d x)}}+\frac {2 \sin (c+d x) \sqrt {a+b \sec (c+d x)}}{3 d \sqrt {\sec (c+d x)}}+\frac {2 b \sqrt {a+b \sec (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right )}{3 a d \sqrt {\sec (c+d x)} \sqrt {\frac {a \cos (c+d x)+b}{a+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.38, antiderivative size = 192, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {3857, 4035, 3856, 2655, 2653, 3858, 2663, 2661} \[ \frac {2 \left (a^2-b^2\right ) \sqrt {\sec (c+d x)} \sqrt {\frac {a \cos (c+d x)+b}{a+b}} F\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right )}{3 a d \sqrt {a+b \sec (c+d x)}}+\frac {2 \sin (c+d x) \sqrt {a+b \sec (c+d x)}}{3 d \sqrt {\sec (c+d x)}}+\frac {2 b \sqrt {a+b \sec (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right )}{3 a d \sqrt {\sec (c+d x)} \sqrt {\frac {a \cos (c+d x)+b}{a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2653
Rule 2655
Rule 2661
Rule 2663
Rule 3856
Rule 3857
Rule 3858
Rule 4035
Rubi steps
\begin {align*} \int \frac {\sqrt {a+b \sec (c+d x)}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx &=\frac {2 \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{3 d \sqrt {\sec (c+d x)}}+\frac {1}{3} \int \frac {b+a \sec (c+d x)}{\sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)}} \, dx\\ &=\frac {2 \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{3 d \sqrt {\sec (c+d x)}}+\frac {b \int \frac {\sqrt {a+b \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx}{3 a}+\frac {\left (a^2-b^2\right ) \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {a+b \sec (c+d x)}} \, dx}{3 a}\\ &=\frac {2 \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{3 d \sqrt {\sec (c+d x)}}+\frac {\left (\left (a^2-b^2\right ) \sqrt {b+a \cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {b+a \cos (c+d x)}} \, dx}{3 a \sqrt {a+b \sec (c+d x)}}+\frac {\left (b \sqrt {a+b \sec (c+d x)}\right ) \int \sqrt {b+a \cos (c+d x)} \, dx}{3 a \sqrt {b+a \cos (c+d x)} \sqrt {\sec (c+d x)}}\\ &=\frac {2 \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{3 d \sqrt {\sec (c+d x)}}+\frac {\left (\left (a^2-b^2\right ) \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\frac {b}{a+b}+\frac {a \cos (c+d x)}{a+b}}} \, dx}{3 a \sqrt {a+b \sec (c+d x)}}+\frac {\left (b \sqrt {a+b \sec (c+d x)}\right ) \int \sqrt {\frac {b}{a+b}+\frac {a \cos (c+d x)}{a+b}} \, dx}{3 a \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}}\\ &=\frac {2 \left (a^2-b^2\right ) \sqrt {\frac {b+a \cos (c+d x)}{a+b}} F\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right ) \sqrt {\sec (c+d x)}}{3 a d \sqrt {a+b \sec (c+d x)}}+\frac {2 b E\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right ) \sqrt {a+b \sec (c+d x)}}{3 a d \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}}+\frac {2 \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{3 d \sqrt {\sec (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.63, size = 156, normalized size = 0.81 \[ \frac {2 \sqrt {a+b \sec (c+d x)} \left (\left (a^2-b^2\right ) \sqrt {\frac {a \cos (c+d x)+b}{a+b}} F\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right )+a \sin (c+d x) (a \cos (c+d x)+b)+b (a+b) \sqrt {\frac {a \cos (c+d x)+b}{a+b}} E\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right )\right )}{3 a d \sqrt {\sec (c+d x)} (a \cos (c+d x)+b)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.26, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {b \sec \left (d x + c\right ) + a}}{\sec \left (d x + c\right )^{\frac {3}{2}}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {b \sec \left (d x + c\right ) + a}}{\sec \left (d x + c\right )^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 1.84, size = 1021, normalized size = 5.32 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {b \sec \left (d x + c\right ) + a}}{\sec \left (d x + c\right )^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sqrt {a+\frac {b}{\cos \left (c+d\,x\right )}}}{{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {a + b \sec {\left (c + d x \right )}}}{\sec ^{\frac {3}{2}}{\left (c + d x \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________